<template>
  <vue-modal
    :title="title"
    ok-text="提交"
    cancel-text="取消"
    :show.sync="showModal"
    effect="fade"
    :small="true"
    :width="500"
    :callback="submit">
    <div slot="modal-body" class="modal-body">
      <form class="form-horizontal" role="form">
        <div class="form-group form-group-sm">
          <label class="col-sm-3 control-label">*话语</label>
          <div class="col-sm-9 text-left">
            <textarea rows="8" class="form-control" v-model="form.word"></textarea>
          </div>
        </div>
        <div class="form-group form-group-sm">
          <label class="col-sm-3 control-label">关联问题ID</label>
          <div class="col-sm-9 text-left">
            <input type="text" class="form-control" placeholder="多个ID使用逗号分隔" v-model="form.questionIds">
          </div>
        </div>
      </form>
    </div>
  </vue-modal>
</template>
<script src="./guide-config.js"></script>